<?php
/**
 *
 * @author ninetyseven.
 * @date 2023-03-30 22:11
 */

namespace App\Enum;

class MonitorEnum
{
    public const MONITOR_STATUS_NO=1;
    public const MONITOR_STATUS_YES=2;
    /**
     * 监控状态 所有
     */
    public const MONITOR_TYPE_ALL=-1;
    /**
     * Excel导入三方订单汇总
     */
    public const MONITOR_TYPE_IMPORT_TO_THIRD=1;
    /**
     * 三方订单汇总导入订单总表
     */
    public const MONITOR_TYPE_THIRD_TO_ORDERS=2;
    /**
     * 订单信息回馈
     */
    public const MONITOR_TYPE_ORDER_FEEDBACK=3;
    /**
     * 小程序异常
     */
    public const MONITOR_TYPE_MP_EXCEPTION=4;
    /**
     * 订单生成异步
     */
    public const MONITOR_TYPE_ORDER_CREATED = 5;
    /**
     * 自动分配订单到承运商
     */
    public const MONITOR_TYPE_DISPATCH_TRANSPORT = 6;
    public const MONITOR_TYPE_NAMES = [
        self::MONITOR_TYPE_IMPORT_TO_THIRD=>'Excel导入三方订单汇总'
        ,self::MONITOR_TYPE_THIRD_TO_ORDERS=>'三方订单汇总导入订单总表'
        ,self::MONITOR_TYPE_ORDER_FEEDBACK=>'订单信息回馈'
        ,self::MONITOR_TYPE_MP_EXCEPTION=>'小程序异常'
        ,self::MONITOR_TYPE_ORDER_CREATED=>'订单生成异步'
        ,self::MONITOR_TYPE_DISPATCH_TRANSPORT=>'订单分配到承运商'
    ];

}
